package com.example.book_recommend.entity;

import java.util.Date;

public class BookDesc {
    private Long bookId;

    private Date created;

    private Date updated;

    private String bookDesc;

    public BookDesc(Long bookId, Date created, Date updated) {
        this.bookId = bookId;
        this.created = created;
        this.updated = updated;
    }

    public BookDesc(Long bookId, Date created, Date updated, String bookDesc) {
        this.bookId = bookId;
        this.created = created;
        this.updated = updated;
        this.bookDesc = bookDesc;
    }

    public BookDesc() {
        super();
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getBookDesc() {
        return bookDesc;
    }

    public void setBookDesc(String bookDesc) {
        this.bookDesc = bookDesc == null ? null : bookDesc.trim();
    }
}